<?php if (!defined('THINK_PATH')) exit();?><script type="text/javascript">
    $(function() {
        $.formValidator.initConfig({formID:"payAddForm",theme:'App',onSuccess:payAddUploadSave,inIframe:true});
    });
    function payAddUploadSave(){
        $.post('<?php echo U('Pay/bankAdd');?>', $("#payAddForm").serialize(), function(data){
            if(!data.status){
                $.messager.alert('提示信息', data.info, 'error');
            }else{
                payRefreshList();
                $.messager.alert('提示信息', data.info, 'info');
                $('#payAddBox').dialog('close');
            }
        })
    }
</script>
<form id="payAddForm" style="padding: 10px;">
    <table id="editBox">

        <tr>
            <td width="100" align="center">支付账号</td>
            <td><input type="text"  name="info[name]"
                       value="" style="width: 450px;height: 20px;"></td>
            <td><div id="add_advert_urlTip"></div></td>
        </tr>
    </table>
</form>